package com.lai.hospital.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.vo
 * @Description: 用户就诊人vo
 * @date Date : 2023年02月14日 17:01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户就诊人")
public class UserPatientVO {

    @NotBlank(message = "用户就诊人id不能为空")
    @ApiModelProperty(name = "id",value = "用户就诊人Id",required = true,dataType = "Integer")
    private Integer id;

    /*@NotBlank(message = "患者id不能为空")
    @ApiModelProperty(name = "patientId",value = "患者Id",required = true,dataType = "Integer")
    private Integer patientId;*/

    @NotBlank(message = "关系不能为空")
    @ApiModelProperty(name = "relation",value = "关系",required = true,dataType = "String")
    private String relation;


}
